using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;

namespace APP.HELPER.Utils.BarcodeLib
{
	[HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), ToolboxItem(false), XmlRoot("BarcodeXML"), XmlSchemaProvider("GetTypedDataSetSchema")]
	[Serializable]
	public class BarcodeXML : DataSet
	{
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
		public delegate void BarcodeRowChangeEventHandler(object sender, BarcodeXML.BarcodeRowChangeEvent e);
		[XmlSchemaProvider("GetTypedTableSchema")]
		[Serializable]
		public class BarcodeDataTable : TypedTableBase<BarcodeXML.BarcodeRow>
		{
			private DataColumn columnType;
			private DataColumn columnText;
			private DataColumn columnEncodedValue;
			private DataColumn columnEncodingTime;
			private DataColumn columnShowText;
			private DataColumn columnForecolor;
			private DataColumn columnBackcolor;
			private DataColumn columnCountryAssigningManufacturingCode;
			private DataColumn columnImageWidth;
			private DataColumn columnImageHeight;
			private DataColumn columnImage;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
			public event BarcodeXML.BarcodeRowChangeEventHandler BarcodeRowChanging;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
			public event BarcodeXML.BarcodeRowChangeEventHandler BarcodeRowChanged;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
			public event BarcodeXML.BarcodeRowChangeEventHandler BarcodeRowDeleting;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
			public event BarcodeXML.BarcodeRowChangeEventHandler BarcodeRowDeleted;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn TypeColumn
			{
				get
				{
					return this.columnType;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn TextColumn
			{
				get
				{
					return this.columnText;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn EncodedValueColumn
			{
				get
				{
					return this.columnEncodedValue;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn EncodingTimeColumn
			{
				get
				{
					return this.columnEncodingTime;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn ShowTextColumn
			{
				get
				{
					return this.columnShowText;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn ForecolorColumn
			{
				get
				{
					return this.columnForecolor;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn BackcolorColumn
			{
				get
				{
					return this.columnBackcolor;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn CountryAssigningManufacturingCodeColumn
			{
				get
				{
					return this.columnCountryAssigningManufacturingCode;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn ImageWidthColumn
			{
				get
				{
					return this.columnImageWidth;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn ImageHeightColumn
			{
				get
				{
					return this.columnImageHeight;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataColumn ImageColumn
			{
				get
				{
					return this.columnImage;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false), DebuggerNonUserCode]
			public int Count
			{
				get
				{
					return base.Rows.Count;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public BarcodeXML.BarcodeRow this[int index]
			{
				get
				{
					return (BarcodeXML.BarcodeRow)base.Rows[index];
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public BarcodeDataTable()
			{
				base.TableName = "Barcode";
				this.BeginInit();
				this.InitClass();
				this.EndInit();
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			internal BarcodeDataTable(DataTable table)
			{
				base.TableName = table.TableName;
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					base.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					base.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					base.Namespace = table.Namespace;
				}
				base.Prefix = table.Prefix;
				base.MinimumCapacity = table.MinimumCapacity;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected BarcodeDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
			{
				this.InitVars();
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void AddBarcodeRow(BarcodeXML.BarcodeRow row)
			{
				base.Rows.Add(row);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public BarcodeXML.BarcodeRow AddBarcodeRow(string Type, string Text, string EncodedValue, double EncodingTime, bool ShowText, string Forecolor, string Backcolor, string CountryAssigningManufacturingCode, int ImageWidth, int ImageHeight, string Image)
			{
				BarcodeXML.BarcodeRow barcodeRow = (BarcodeXML.BarcodeRow)base.NewRow();
				object[] itemArray = new object[]
				{
					Type,
					Text,
					EncodedValue,
					EncodingTime,
					ShowText,
					Forecolor,
					Backcolor,
					CountryAssigningManufacturingCode,
					ImageWidth,
					ImageHeight,
					Image
				};
				barcodeRow.ItemArray = itemArray;
				base.Rows.Add(barcodeRow);
				return barcodeRow;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public override DataTable Clone()
			{
				BarcodeXML.BarcodeDataTable barcodeDataTable = (BarcodeXML.BarcodeDataTable)base.Clone();
				barcodeDataTable.InitVars();
				return barcodeDataTable;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override DataTable CreateInstance()
			{
				return new BarcodeXML.BarcodeDataTable();
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			internal void InitVars()
			{
				this.columnType = base.Columns["Type"];
				this.columnText = base.Columns["Text"];
				this.columnEncodedValue = base.Columns["EncodedValue"];
				this.columnEncodingTime = base.Columns["EncodingTime"];
				this.columnShowText = base.Columns["ShowText"];
				this.columnForecolor = base.Columns["Forecolor"];
				this.columnBackcolor = base.Columns["Backcolor"];
				this.columnCountryAssigningManufacturingCode = base.Columns["CountryAssigningManufacturingCode"];
				this.columnImageWidth = base.Columns["ImageWidth"];
				this.columnImageHeight = base.Columns["ImageHeight"];
				this.columnImage = base.Columns["Image"];
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			private void InitClass()
			{
				this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnType);
				this.columnText = new DataColumn("Text", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnText);
				this.columnEncodedValue = new DataColumn("EncodedValue", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnEncodedValue);
				this.columnEncodingTime = new DataColumn("EncodingTime", typeof(double), null, MappingType.Element);
				base.Columns.Add(this.columnEncodingTime);
				this.columnShowText = new DataColumn("ShowText", typeof(bool), null, MappingType.Element);
				base.Columns.Add(this.columnShowText);
				this.columnForecolor = new DataColumn("Forecolor", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnForecolor);
				this.columnBackcolor = new DataColumn("Backcolor", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnBackcolor);
				this.columnCountryAssigningManufacturingCode = new DataColumn("CountryAssigningManufacturingCode", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnCountryAssigningManufacturingCode);
				this.columnImageWidth = new DataColumn("ImageWidth", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnImageWidth);
				this.columnImageHeight = new DataColumn("ImageHeight", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnImageHeight);
				this.columnImage = new DataColumn("Image", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnImage);
				this.columnImage.MaxLength = 10000000;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public BarcodeXML.BarcodeRow NewBarcodeRow()
			{
				return (BarcodeXML.BarcodeRow)base.NewRow();
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new BarcodeXML.BarcodeRow(builder);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override Type GetRowType()
			{
				return typeof(BarcodeXML.BarcodeRow);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.BarcodeRowChanged != null)
				{
					this.BarcodeRowChanged(this, new BarcodeXML.BarcodeRowChangeEvent((BarcodeXML.BarcodeRow)e.Row, e.Action));
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.BarcodeRowChanging != null)
				{
					this.BarcodeRowChanging(this, new BarcodeXML.BarcodeRowChangeEvent((BarcodeXML.BarcodeRow)e.Row, e.Action));
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.BarcodeRowDeleted != null)
				{
					this.BarcodeRowDeleted(this, new BarcodeXML.BarcodeRowChangeEvent((BarcodeXML.BarcodeRow)e.Row, e.Action));
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.BarcodeRowDeleting != null)
				{
					this.BarcodeRowDeleting(this, new BarcodeXML.BarcodeRowChangeEvent((BarcodeXML.BarcodeRow)e.Row, e.Action));
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void RemoveBarcodeRow(BarcodeXML.BarcodeRow row)
			{
				base.Rows.Remove(row);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
			{
				XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
				XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
				BarcodeXML barcodeXML = new BarcodeXML();
				XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
				xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
				xmlSchemaAny.MinOccurs = 0m;
				xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
				xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny);
				XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
				xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
				xmlSchemaAny2.MinOccurs = 1m;
				xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny2);
				XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
				xmlSchemaAttribute.Name = "namespace";
				xmlSchemaAttribute.FixedValue = barcodeXML.Namespace;
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
				XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
				xmlSchemaAttribute2.Name = "tableTypeName";
				xmlSchemaAttribute2.FixedValue = "BarcodeDataTable";
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
				xmlSchemaComplexType.Particle = xmlSchemaSequence;
				XmlSchema schemaSerializable = barcodeXML.GetSchemaSerializable();
				XmlSchemaComplexType result;
				if (xs.Contains(schemaSerializable.TargetNamespace))
				{
					MemoryStream memoryStream = new MemoryStream();
					MemoryStream memoryStream2 = new MemoryStream();
					try
					{
						schemaSerializable.Write(memoryStream);
						IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
						while (enumerator.MoveNext())
						{
							XmlSchema xmlSchema = (XmlSchema)enumerator.Current;
							memoryStream2.SetLength(0L);
							xmlSchema.Write(memoryStream2);
							if (memoryStream.Length == memoryStream2.Length)
							{
								memoryStream.Position = 0L;
								memoryStream2.Position = 0L;
								while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
								{
								}
								if (memoryStream.Position == memoryStream.Length)
								{
									result = xmlSchemaComplexType;
									return result;
								}
							}
						}
					}
					finally
					{
						if (memoryStream != null)
						{
							memoryStream.Close();
						}
						if (memoryStream2 != null)
						{
							memoryStream2.Close();
						}
					}
				}
				xs.Add(schemaSerializable);
				result = xmlSchemaComplexType;
				return result;
			}
		}
		public class BarcodeRow : DataRow
		{
			private BarcodeXML.BarcodeDataTable tableBarcode;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string Type
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.TypeColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'Type' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.TypeColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string Text
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.TextColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'Text' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.TextColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string EncodedValue
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.EncodedValueColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'EncodedValue' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.EncodedValueColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public double EncodingTime
			{
				get
				{
					double result;
					try
					{
						result = (double)base[this.tableBarcode.EncodingTimeColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'EncodingTime' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.EncodingTimeColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool ShowText
			{
				get
				{
					bool result;
					try
					{
						result = (bool)base[this.tableBarcode.ShowTextColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'ShowText' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.ShowTextColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string Forecolor
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.ForecolorColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'Forecolor' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.ForecolorColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string Backcolor
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.BackcolorColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'Backcolor' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.BackcolorColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string CountryAssigningManufacturingCode
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.CountryAssigningManufacturingCodeColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'CountryAssigningManufacturingCode' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.CountryAssigningManufacturingCodeColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public int ImageWidth
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableBarcode.ImageWidthColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'ImageWidth' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.ImageWidthColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public int ImageHeight
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableBarcode.ImageHeightColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'ImageHeight' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.ImageHeightColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public string Image
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableBarcode.ImageColumn];
					}
					catch (InvalidCastException innerException)
					{
						throw new StrongTypingException("The value for column 'Image' in table 'Barcode' is DBNull.", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableBarcode.ImageColumn] = value;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			internal BarcodeRow(DataRowBuilder rb) : base(rb)
			{
				this.tableBarcode = (BarcodeXML.BarcodeDataTable)base.Table;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsTypeNull()
			{
				return base.IsNull(this.tableBarcode.TypeColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetTypeNull()
			{
				base[this.tableBarcode.TypeColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsTextNull()
			{
				return base.IsNull(this.tableBarcode.TextColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetTextNull()
			{
				base[this.tableBarcode.TextColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsEncodedValueNull()
			{
				return base.IsNull(this.tableBarcode.EncodedValueColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetEncodedValueNull()
			{
				base[this.tableBarcode.EncodedValueColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsEncodingTimeNull()
			{
				return base.IsNull(this.tableBarcode.EncodingTimeColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetEncodingTimeNull()
			{
				base[this.tableBarcode.EncodingTimeColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsShowTextNull()
			{
				return base.IsNull(this.tableBarcode.ShowTextColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetShowTextNull()
			{
				base[this.tableBarcode.ShowTextColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsForecolorNull()
			{
				return base.IsNull(this.tableBarcode.ForecolorColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetForecolorNull()
			{
				base[this.tableBarcode.ForecolorColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsBackcolorNull()
			{
				return base.IsNull(this.tableBarcode.BackcolorColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetBackcolorNull()
			{
				base[this.tableBarcode.BackcolorColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsCountryAssigningManufacturingCodeNull()
			{
				return base.IsNull(this.tableBarcode.CountryAssigningManufacturingCodeColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetCountryAssigningManufacturingCodeNull()
			{
				base[this.tableBarcode.CountryAssigningManufacturingCodeColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsImageWidthNull()
			{
				return base.IsNull(this.tableBarcode.ImageWidthColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetImageWidthNull()
			{
				base[this.tableBarcode.ImageWidthColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsImageHeightNull()
			{
				return base.IsNull(this.tableBarcode.ImageHeightColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetImageHeightNull()
			{
				base[this.tableBarcode.ImageHeightColumn] = Convert.DBNull;
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public bool IsImageNull()
			{
				return base.IsNull(this.tableBarcode.ImageColumn);
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public void SetImageNull()
			{
				base[this.tableBarcode.ImageColumn] = Convert.DBNull;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
		public class BarcodeRowChangeEvent : EventArgs
		{
			private BarcodeXML.BarcodeRow eventRow;
			private DataRowAction eventAction;
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public BarcodeXML.BarcodeRow Row
			{
				get
				{
					return this.eventRow;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public DataRowAction Action
			{
				get
				{
					return this.eventAction;
				}
			}
			[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
			public BarcodeRowChangeEvent(BarcodeXML.BarcodeRow row, DataRowAction action)
			{
				this.eventRow = row;
				this.eventAction = action;
			}
		}
		private BarcodeXML.BarcodeDataTable tableBarcode;
		private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
		public BarcodeXML.BarcodeDataTable Barcode
		{
			get
			{
				return this.tableBarcode;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), DebuggerNonUserCode]
		public override SchemaSerializationMode SchemaSerializationMode
		{
			get
			{
				return this._schemaSerializationMode;
			}
			set
			{
				this._schemaSerializationMode = value;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DebuggerNonUserCode]
		public new DataTableCollection Tables
		{
			get
			{
				return base.Tables;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DebuggerNonUserCode]
		public new DataRelationCollection Relations
		{
			get
			{
				return base.Relations;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		public BarcodeXML()
		{
			base.BeginInit();
			this.InitClass();
			CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
			base.Tables.CollectionChanged += value;
			base.Relations.CollectionChanged += value;
			base.EndInit();
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		protected BarcodeXML(SerializationInfo info, StreamingContext context) : base(info, context, false)
		{
			if (base.IsBinarySerialized(info, context))
			{
				this.InitVars(false);
				CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
				this.Tables.CollectionChanged += value;
				this.Relations.CollectionChanged += value;
			}
			else
			{
				string s = (string)info.GetValue("XmlSchema", typeof(string));
				if (base.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
				{
					DataSet dataSet = new DataSet();
					dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
					if (dataSet.Tables["Barcode"] != null)
					{
						base.Tables.Add(new BarcodeXML.BarcodeDataTable(dataSet.Tables["Barcode"]));
					}
					base.DataSetName = dataSet.DataSetName;
					base.Prefix = dataSet.Prefix;
					base.Namespace = dataSet.Namespace;
					base.Locale = dataSet.Locale;
					base.CaseSensitive = dataSet.CaseSensitive;
					base.EnforceConstraints = dataSet.EnforceConstraints;
					base.Merge(dataSet, false, MissingSchemaAction.Add);
					this.InitVars();
				}
				else
				{
					base.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
				}
				base.GetSerializationData(info, context);
				CollectionChangeEventHandler value2 = new CollectionChangeEventHandler(this.SchemaChanged);
				base.Tables.CollectionChanged += value2;
				this.Relations.CollectionChanged += value2;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		protected override void InitializeDerivedDataSet()
		{
			base.BeginInit();
			this.InitClass();
			base.EndInit();
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		public override DataSet Clone()
		{
			BarcodeXML barcodeXML = (BarcodeXML)base.Clone();
			barcodeXML.InitVars();
			barcodeXML.SchemaSerializationMode = this.SchemaSerializationMode;
			return barcodeXML;
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		protected override void ReadXmlSerializable(XmlReader reader)
		{
			if (base.DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
			{
				this.Reset();
				DataSet dataSet = new DataSet();
				dataSet.ReadXml(reader);
				if (dataSet.Tables["Barcode"] != null)
				{
					base.Tables.Add(new BarcodeXML.BarcodeDataTable(dataSet.Tables["Barcode"]));
				}
				base.DataSetName = dataSet.DataSetName;
				base.Prefix = dataSet.Prefix;
				base.Namespace = dataSet.Namespace;
				base.Locale = dataSet.Locale;
				base.CaseSensitive = dataSet.CaseSensitive;
				base.EnforceConstraints = dataSet.EnforceConstraints;
				base.Merge(dataSet, false, MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				base.ReadXml(reader);
				this.InitVars();
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		protected override XmlSchema GetSchemaSerializable()
		{
			MemoryStream memoryStream = new MemoryStream();
			base.WriteXmlSchema(new XmlTextWriter(memoryStream, null));
			memoryStream.Position = 0L;
			return XmlSchema.Read(new XmlTextReader(memoryStream), null);
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		internal void InitVars()
		{
			this.InitVars(true);
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		internal void InitVars(bool initTable)
		{
			this.tableBarcode = (BarcodeXML.BarcodeDataTable)base.Tables["Barcode"];
			if (initTable)
			{
				if (this.tableBarcode != null)
				{
					this.tableBarcode.InitVars();
				}
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		private void InitClass()
		{
			base.DataSetName = "BarcodeXML";
			base.Prefix = "";
			base.Namespace = "http://tempuri.org/BarcodeXML.xsd";
			base.EnforceConstraints = true;
			this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
			this.tableBarcode = new BarcodeXML.BarcodeDataTable();
			base.Tables.Add(this.tableBarcode);
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		private bool ShouldSerializeBarcode()
		{
			return false;
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		private void SchemaChanged(object sender, CollectionChangeEventArgs e)
		{
			if (e.Action == CollectionChangeAction.Remove)
			{
				this.InitVars();
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
		public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
		{
			BarcodeXML barcodeXML = new BarcodeXML();
			XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
			XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
			XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
			xmlSchemaAny.Namespace = barcodeXML.Namespace;
			xmlSchemaSequence.Items.Add(xmlSchemaAny);
			xmlSchemaComplexType.Particle = xmlSchemaSequence;
			XmlSchema schemaSerializable = barcodeXML.GetSchemaSerializable();
			XmlSchemaComplexType result;
			if (xs.Contains(schemaSerializable.TargetNamespace))
			{
				MemoryStream memoryStream = new MemoryStream();
				MemoryStream memoryStream2 = new MemoryStream();
				try
				{
					schemaSerializable.Write(memoryStream);
					IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
					while (enumerator.MoveNext())
					{
						XmlSchema xmlSchema = (XmlSchema)enumerator.Current;
						memoryStream2.SetLength(0L);
						xmlSchema.Write(memoryStream2);
						if (memoryStream.Length == memoryStream2.Length)
						{
							memoryStream.Position = 0L;
							memoryStream2.Position = 0L;
							while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
							{
							}
							if (memoryStream.Position == memoryStream.Length)
							{
								result = xmlSchemaComplexType;
								return result;
							}
						}
					}
				}
				finally
				{
					if (memoryStream != null)
					{
						memoryStream.Close();
					}
					if (memoryStream2 != null)
					{
						memoryStream2.Close();
					}
				}
			}
			xs.Add(schemaSerializable);
			result = xmlSchemaComplexType;
			return result;
		}
	}
}
